package com.gusti.admincasa.persistence.model;

import javax.persistence.MappedSuperclass;
import javax.persistence.Version;

/**
 * 
 * @author gusti
 *
 */
@MappedSuperclass
public abstract class AbstractModelObject extends AbstractIdentificableObject {

	@Version
	private long version = -1;

	public long getVersion() {
		return version;
	}
	public void setVersion( long version ) {
		this.version = version;
	}
}
